package com.yunxi.sto.service;

import com.github.pagehelper.PageInfo;
import com.yunxi.sto.pojo.StoStorageCompanyListVO;
import com.yunxi.sto.pojo.StoStorageCompanyVO;
import java.lang.reflect.InvocationTargetException;
import java.util.List;

/**
 * <p>
 * 仓储公司 服务类
 * </p>
 *
 * @author caoYong
 * @since 2019-06-06
 */
public interface StoStorageCompanyDubboService {

    StoStorageCompanyVO getById(String id) throws InvocationTargetException, IllegalAccessException;

    void saveOrUpdate(StoStorageCompanyVO stoStorageCompanyVO) throws Exception;

    void removeById(String id);

    PageInfo<StoStorageCompanyVO> findPageByVO(StoStorageCompanyVO stoStorageCompanyVO, Integer pageNum, Integer pageSize) throws InvocationTargetException, IllegalAccessException;

    List<StoStorageCompanyVO> export(StoStorageCompanyVO stoStorageCompanyVO) throws Exception;

    void removeByListVo(List<StoStorageCompanyVO> stoStorageCompanyVOList) throws Exception;

    void delAndReset(List<String> list,String isOnUse,String userId)throws Exception;

    List<StoStorageCompanyListVO> companyList(String isOnUse)throws Exception;
}
